No confusion, any pilot training undertaken requires an M1 visa. It's not difficult to get, the school must send you an I-20 which you take to the Embassy.
The immigration officer will need to stamp that, and see a SEVIS receipt once you land in the US. The school should know this.