Not sure what you want to achieve, but there are Math node “Less then”/“Greater then”.
You can also use color range map black vs. white.
But it’s in Blender nature to have values outside the -1…1 range.
it depends also what the connection data type is.