I kind of get it- but I don't understand how you would use NOT.

If NOT 5

is the correct syntax, but if What is not 5? By itself it doesn't seem to be of any use.

If $X NOT 5

seems logically correct, but like you say is bad syntax. I cannot find any script examples that use NOT. Have you ever used it in a real script?