@Tony *******
, correct (y) in fact checking in is usually the ONLY time you need to have and show both passports.
The US passport shows the airline that you as a thai can get into the US without needing a visa in your thai passport, and comin here the thai passport shows the airline you can get into thailand without needing a thai visa in your US passport. ;)