Analog Input to Boolean

Just be aware that two consecutive reads might vary slightly. It might be advisable to add a bit of slack.