A zero in the table

P(X=1)=1/2\mathbb{P}(X=1)=1/2, P(Y=1)=1/3\mathbb{P}(Y=1)=1/3 and P(X=1,Y=1)=0\mathbb{P}(X=1,Y=1)=0. Are XX and YY independent?

No. The product of the marginals is 1/61/6, and the joint probability is 00. One cell where the product formula fails is enough.