While Andheri is definitely the nearest railway station with the airport an even better possibility would be to get an automobile-rickshaw to Kurla or Ghatkopar station(both these stations slide within the central suburban line) after which board any suburban Northbound Local Suburban train (all area suburban trains halt at Thane) https://josepha234mfe9.fliplife-wiki.com/user