That's why planes have gyroscopes; like Tom said, you can't tell what is down via gravity in such a situation, but if you set a gyroscope spinning when you know you are leveled, then as you turn, the gyro will not turn, letting you know that you've turned.