The geolocation software that each licensed sportsbook installs automatically sends a regular ping to a satellite in orbit. It works similarly to mapping apps that are likely already installed on your phone as well.
If the app detects a ping that’s outside of New York’s state lines, you won’t be able to place a wager or withdraw your winnings.