TRESPASSING: In most states, it is illegal to cross train tracks at any other place than a railroad crossing. Train tracks and the property near them are owned by the railroad company, and most of the railroad companies post No Trespassing signs prohibiting being on their property at any time.