fix: compare with xor, not equal

it should compare with xor of bit arrays, not equal of them.