What are XAND and XOR? Also is there an XNot
This is what you are looking for: https://en.wikipedia.org/wiki/XNOR_gate
Here is the logic table:
A B XOR XNOR 0 0 0 1 0 1 1 0 1 0 1 0 1 1 0 1
XNOR sometimes is called XAND.