Xor
An xor is a logical exclusive disjunction, where the operation is true if and only if its inputs are different from each other.
\(a\) ^ \(b\)
| B | A | Out | 
|---|---|---|
| 0 | 0 | 0 | 
| 0 | 1 | 1 | 
| 1 | 0 | 1 | 
| 1 | 1 | 0 | 

An xor is a logical exclusive disjunction, where the operation is true if and only if its inputs are different from each other.
\(a\) ^ \(b\)
| B | A | Out | 
|---|---|---|
| 0 | 0 | 0 | 
| 0 | 1 | 1 | 
| 1 | 0 | 1 | 
| 1 | 1 | 0 | 
