At a passive railroad crossing:

Passive railroad crossings are not controlled by any traffic control devices. At such crossings, it is entirely a driver's responsibility to determine when it is safe to cross the tracks.
DMV Writen Test