The XNOR gate is a logic gate that outputs 1 ( true ) when both of its inputs are equal .
A HIGH output ( 1 ) results if both of the inputs to the gate are the same .