Logical entities always evaluate as a Boolean result.
Logical entities are used to form conditions and control branching among other uses. They are often used to hold state information or control switches. A logical entity may be the result of a relational expression or the use of one or more logical operators. A logical entity may be the result of enquiring the property of an object that returns a Boolean value as a result. Logical entities can only contain a true or false value.