Sergey's has already given you the correct syntax. Just to add a bit more information, bits in the same position result in the following
A B Result
000101011110
To sum it up, if bits in the same position match, the return value is that the bit in the return value is not set (it's cleared). If they do not match, the bit is set.