Yes, that is correct.
A little more technical: When you say that one of these four are chosen at random, I assume you mean that each of these 4 outcomes has a probability of $\frac{1}{4}$. And, as such, the probability of $Y$ being a $0$ (or $1$) does not differ depending on whether $X$ is a $0$ or $1$
Mathematically:
$P(Y=0|X=0) = P(Y=0|X=1)$ (= $\frac{1}{2}$) and
$P(Y=1|X=0) = P(Y=1|X=1)$ (= $\frac{1}{2}$)
Even more general, events $A$ and $B$ are independent if and only if $P(A) = P(A|B)$. And indeed we have:
$P(Y=0) = P(Y=0|X=0)$ (= $\frac{1}{2}$) and
$P(Y=0) = P(Y=0|X=1)$ (= $\frac{1}{2}$) and
$P(Y=1) = P(Y=1|X=0)$ (= $\frac{1}{2}$) and
$P(Y=1) = P(Y=1|X=1)$ (= $\frac{1}{2}$)