How would an aircraft visually signal "in distress"?
For the US, the FAA's Intercept Procedures list several things a pilot can indicate without radios:


Acknowledge instructions: rock wings, flash nav lights
Unable to land at indicated airport: flash landing lights
Cannot comply: switch all lights on and off at regular intervals
In distress: switch all lights on and off at irregular intervals