boolean replaced by logical

boolean is part of the symbolic toolbox. logical is a general MatLab
type.