Section: Array Generation and Manipulations
islogical
x = islogical(y)
and it returns a logical 1 if the argument is a logical array and a logical 0 otherwise.