> ## Documentation Index
> Fetch the complete documentation index at: https://axiom-mano-sample-app.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Logical operators

> Learn how to use and combine different logical operators in APL.

## Logical (binary) operators

The following logical operators are supported between two values of the `bool` type:

**These logical operators are sometimes referred-to as Boolean operators, and sometimes as binary operators. The names are all synonyms.**

| **Operator name** | **Syntax** | **meaning**                                                                                                               |   |
| ----------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------- | - |
| Equality          | **==**     | Returns `true` if both operands are non-null and equal to each other. Otherwise, `false`.                                 |   |
| Inequality        | **!=**     | Returns `true` if either one (or both) of the operands are null, or they are not equal to each other. Otherwise, `false`. |   |
| Logical and       | **and**    | Returns `true` if both operands are `true`.                                                                               |   |
| Logical or        | **or**     | Returns `true `if one of the operands is `true`, regardless of the other operand.                                         |   |
