ISLOGICAL Test for Logical Array

Section: Array Generation and Manipulations

Usage

The syntax for islogical is
   x = islogical(y)

and it returns a logical 1 if the argument is a logical array and a logical 0 otherwise.