Logical operators Logical operators are used in expressions that evaluate to "true" or "false". OperatorDescription ^ exclusive or & and | or ! not = equals