ISLOGICAL ISLOGICAL Test for Logical Array 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.