Original: Definition Logical equality is an operation on two logical values , typically the values of two propositions , that produces a value of true if and only if both operands are false or both operands are true .
Simplified: It returns true , if either both inputs are true , or both inputs are false .