Etymology
Today it means: Extremely drunk. Full definition →
By analogy with three sheets to the wind.
Etymology from Wiktionary, CC BY-SA 4.0.