ISCHAR ISCHAR Test For Character Array (string) Usage The syntax for ischar is x = ischar(y) and it returns a logical 1 if the argument is a string and a logical 0 otherwise.