ISLOGICAL(value)
value: a value
This function checks if a value is either TRUE or FALSE.
This function is Excel compatible.