ISLOGICAL function

Returns TRUE if the value is a logical value