I’ll be back to give @worriedguy a GA for whatever he’s going to say. He’ll nail the answer. You’ll see.
Well, I expected more…
Since helium is such a light gas the molecules can find their way through the tiniest openings you could imagine. So knots, even the fabric of the balloon itself, won’t hold it for long. And as it seeps out the balloon loses altitude until it falls to earth.
If a balloon were to stay aloft indefinitely, then it would get to a point of ‘neutral bouyancy’ in the atmosphere. That is, the air at higher elevations is less dense and less able to support the weight of the balloon and helium (which is only ‘lighter than air’ at sea level and for as long as it can stay ‘lighter’ than this relatively dense air). And it would float there until the sunlight degraded the material enough to allow sufficient gas to escape that would assure its fall to earth.
Nothing is going to ‘float’ out of our atmosphere. Helium is going to float highest (with free hydrogen), but I don’t think it can escape the atmosphere completely.