For questions involving exclusive-or operations (typically bitwise).
Exclusive-disjunction or exclusive-or (XOR; operator ⊕) is a logical operation like AND and OR, having the following truth table:
0 ⊕ 1 == 1 ⊕ 0 == 1 # different inputs produce 1/True
0 ⊕ 0 == 1 ⊕ 1 == 0 # equal inputs produce 0/False
XOR operations are useful for parity (eg providing the +1 redundancy in a RAID-5 disk configuration), swapping registers in CPUs without SWAP instructions, graphic overlays, cryptographic functions etc.