As everyone knows, this can be done.
However, sometimes the drowning infantry can make it to land

and sometimes they cannot.
When can drowning infantry swim to land and when are they unable to?
P.S. Please inform me if this is a bug. As of now I am assuming that it is a feature.