Try XOR with A and B expressions

(A and not B) or (not A and B)