Question: is it illegal to drive with your leg out the window?
Answer: Driver's or passenger's foot, and which window? Driving with driver's foot out the window is typically against the law, under the general “safety hazard” rubric. If it's passenger's foot sticking out of the passenger side window, depends on where you are.