Rooms with toilets and sinks have always been called lavatories - not only on airplanes - because of the Latin words “lavare” which means “to wash” and “lavatorium” for the facility where people washed. In English, it's often called a “washroom.” Restrooms are also used for washing up and not only for the toilet.