3-bit Digitаl Cоmpаrаtоr The оutput of an XNOR gate is the complement of that of an XOR gate. For a 2-input XNOR gate, the output is Low when the inputs are unequal but High when the inputs are equal. The Boolean expression and the truth table for a 2-input XNOR gate are shown as follows: