ISLOGICAL(value)
ISLOGICAL returns TRUE if the value is a logical value.
This function is Excel compatible.
ISLOGICAL(A1).