ISLOGICAL Test for Logical Array

Section: Inspection Functions

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.