In reply to Oumar Sy.

No, you are confusing the sort order for missing values with the logical evaluation of a missing value. The sort order of missing values is that a missing value is less than any representable floating point number. Thus the expression (y <= 0) evaluates as TRUE when y is missing.