check_field_is_logical function

Parse logical field and compile data for warning if parsing errors occurred