The output of the logic gate circuit is
$\begin{aligned}
& \mathrm{Y}=\overline{\overline{(\mathrm{A}+\mathrm{B})}) \cdot(\mathrm{A} \cdot \mathrm{~B})}=\overline{\overline{\mathrm{A}+\mathrm{B}}}+\overline{\mathrm{A} \cdot \mathrm{~B}} \\
& =\mathrm{A}+\mathrm{B}+\overline{\mathrm{A}}+\overline{\mathrm{B}}=(\mathrm{A}+\overline{\mathrm{A}})+(\mathrm{B}+\overline{\mathrm{B}})=1+1=1
\end{aligned}$
$\therefore$ For any value of input, the output of the circuit is 1 .