The function ISLOGICAL checks weather value in a cell is a logical value, and returns TRUE if the value is True or False or FALSE if it is any other value.
Syntax.
= Islogical (cell or value)
Cell or value. Is any value or reference to a cell to be evaluated for True or False.