> For the complete documentation index, see [llms.txt](https://docs.inforiver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inforiver.com/editable/formula-and-functions/logical-functions.md).

# Logical functions

<table><thead><tr><th width="324">NAME</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><a href="/pages/PZBuNgIcTpjrTUJ4HeoH">AND</a></td><td>Returns TRUE if all the conditions are TRUE</td></tr><tr><td><a href="/pages/IhEZTmVa6J4B5gFzv0Zy">IN</a></td><td>Returns TRUE if the list of values being searched is in the array</td></tr><tr><td><a href="/pages/YoYe9NtTJif7yDwl1D49">ISBLANK</a></td><td>Returns the logical value TRUE if the value argument is a reference to an empty cell</td></tr><tr><td><a href="/pages/lxqUFUVHDaTTeWTfg9cP">ISEMPTY</a></td><td>Returns the logical value TRUE if the value argument is a reference to an empty cell</td></tr><tr><td><a href="/pages/iTzQNKmzSkjqlmyAwd56">ISNUMBER</a></td><td>Returns the logical value TRUE if the value argument is a valid number</td></tr><tr><td><a href="/pages/PdP21G2GR6b9Z7ENkYxW">NOT</a></td><td>Changes FALSE to TRUE and TRUE to FALSE</td></tr><tr><td><a href="/pages/XuDVhkMqSAextej2Hyxt">OR</a></td><td>Returns TRUE if any of the arguments are TRUE and FALSE only if all arguments are FALSE</td></tr><tr><td><a href="/pages/gCwvQdEK18b3jYDGYWdM">XOR</a></td><td>Returns a logical 'Exclusive OR' of all the arguments</td></tr></tbody></table>

## Logical Operators <a href="#logical-operators" id="logical-operators"></a>

<table><thead><tr><th width="271">TITLE</th><th width="240">OPERATORS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>AND</td><td>&#x26;&#x26;</td><td>Logical AND</td></tr><tr><td>OR</td><td>||</td><td>Logical OR</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inforiver.com/editable/formula-and-functions/logical-functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
