LOGICAL (logical-exp, [,kind]) Class: Elemental function - Generic Converts the logical value of the argument to a logical of different kind type parameters. The setting of integer size compiler options can affect this function. Examples: LOGICAL (L .OR. .NOT. L) has the value true and is of type default logical regardless of the kind type parameter of logical variable L. LOGICAL (.FALSE., 2) has the value false, with the kind type parameter of INTEGER(KIND=2).