Whether it's terminal 1, 2 or 3 you'll pass through passport control and customs. If you leave the aircraft in the first group of passengers you should expect to get through immigration fairly quickly but allow yourself anything from 10 mins to 1hour.