Comparing analog signals

I'm working in tinkercad at the moment as my arduinos are in elsewhere. This is the project I have going.

https://www.tinkercad.com/things/0aGLYnkMBip-neat-jofo-albar/editel?sharecode=z-mEkikyJzQCXGAyCsvjS0OdJ6aqnQ5NGw1M4HUAl4k