XNOR

The xnor gate will only turn its output on if an even amount of its inputs are on.