How can I implement XOR using basic mathematical operators like +,-,*,/
Update: Actually, I need to track change in two matrix having Boolean values. T
The simplest expression I can come up with is: a != b.
a != b
(Previous best effort was (a + b) == 1)
(a + b) == 1