Any crossing where the rails have been removed and/or paved over shouldn't have an alert regardless of gates or warning devices still in place. Any crossing marked out of service by mutcd standards (https://mutcd.fhwa.dot.gov/htm/2009/part8/part8b.htm) shouldn't have an alert. (This includes "tracks not in service" signs and the removal/hooding/etc of gates and warning devices. Any crossing where the rails still cross the pavement and has signs/gates/warning devices in place should have an alert, even if the removal of rails/track at another location renders the crossing in question impossible for a train to reach - for a consistent user experience there should be an alert at any crossing that appears legitimate to the driver.