XNOR Gate Using NAND Gates
An XNOR logic Gate can be made using NAND logic gates. As we know, NAND is a universal logic gate, meaning it can be used to build other basic logic gates such as NOT, OR, AND, NOR, XOR, and XNOR. Implementing an XNOR gate using a NAND gate is useful when you need an XNOR logic circuit but only have NAND gates available; a XNOR logic gate is unavailable.

XNOR Logic Gate
An XNOR logic gate produces the output 1 (High) when its inputs are the same. The output becomes 0 (Low) when its inputs are different. For a 2-input XNOR gate, the output is 1 when both inputs are 0 or both inputs are 1. The XNOR logic gate truth table and its symbol are given below.

NAND Logic Gate
A NAND logic gate produces a LOW output (0) only when all its inputs are HIGH (1). In all other input combinations, the output is HIGH (1). Below are the truth table for the NAND logic gate and its symbols.
