Begriff: Three sheets to the wind

On a three-masted ship, having the sheets of the three lower courses loose will result in the ship meandering aimlessly downwind. Also, a sailor who has drunk strong spirits beyond his capacity.