Presumably defining a deadzone? Best to make the thing you’re comparing with the same type as the rest of the query so you don’t have to look up how casting happens behind the scenes, so use 1.0 instead of the 1 that looks very integer. Though I suppose the worst that could happen would be -1.99 and +1.99 registering as dead. (That last is speculative extrapolation without R’ing TFM to check floors and rounds, so apply salt.)
For reference, u89djt’s comment on R’ing TFM stands for “Reading The Field Manual” which is what you should probably be doing before making these posts on cpp syntax: cppreference.com
Also, what some people here are trying to emphasize is that your deadzone of -1 to 1 may be too small. Consider increasing its range.