Opposite of is.logical(). Check if entry is a logical object
Examples
test.env <- TRUE
test.notenv <- 0
not.logical(test.env) # FALSE
#> [1] FALSE
not.logical(test.notenv) # TRUE
#> [1] TRUE
if(not.logical(test.notenv)) message("yes") # yes
#> yes