MATLAB: How to index from three vectors

indexing find

Hi,
I think this is quite simple but I'm missing something.
I have three vectors
A = [0 1 0 1 0 0]'
B = [0 1 1 0 0 0]'
C = [0 1 0 1 0 0]'
I want to index to get the location where there is a 1 in all vectors and the same so I would want this to tell me 2 as that is the location in all three that is equal to 1. I know find will work for two vectors but how to you write it for three?
Thanks for any help.

Best Answer

find(A==1 & B==1 & C==1)