# Boolean Literals

In MariaDB, `FALSE` is a synonym of `0` and `TRUE` is a synonym of `1`. These constants are case insensitive, so `TRUE`, `True`, and `true` are equivalent.

These terms are not synonyms of `0` and `1` when used with the [IS](https://mariadb.com/docs/server/reference/sql-structure/operators/comparison-operators/is) operator. So, for example, `10 IS TRUE` returns `1`, while `10 = TRUE` returns `0` (because 1 != 10).

The `IS` operator accepts a third constant exists: `UNKNOWN`. It is always a synonym of [NULL](https://mariadb.com/docs/server/reference/data-types/null-values).

`TRUE` and `FALSE` are [reserved words](https://mariadb.com/docs/server/reference/sql-structure/sql-language-structure/reserved-words), while `UNKNOWN` is not.

## See Also

* [BOOLEAN](https://mariadb.com/docs/server/reference/data-types/numeric-data-types/boolean) type

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}
