Much more complicated than that. Depending on the laws of the parents nationalities, that of the aircraft registry and/or port of entry the child could have multiple nationality. The only definitive fact being the child will not be left stateless. One of those things best sorted out on an individual basis.
https://en.m.wikipedia.org/wiki/Birt...raft_and_ships