# Documentation/How Tos/Calc: ISLOGICAL function

From Apache OpenOffice Wiki

## ISLOGICAL

Tests if a cell contains a logical value, ` TRUE` or

`.`

**FALSE**### Syntax:

**ISLOGICAL(value)**

- Returns
if**TRUE**is either**value**or**TRUE**, and**FALSE**otherwise.**FALSE**

### Example:

**ISLOGICAL(D5)**

- where D5 contains
, returns**FALSE**, because D5 contains a logical value.**TRUE**

**ISLOGICAL(123)**

- returns
, because**FALSE**is a number, not a logical value.**123**

### Issues:

- A logical value in Calc is simply a number with a boolean format, not a separate type as in Excel. Some resulting incompatibilities are discussed in Issue 84266.