Short answer
Glufosinate is not banned everywhere. The European Union decided not to renew its approval, and the active ingredient was withdrawn from the EU market in 2018. The main concern cited in that process was its classification for possible harm to reproduction. In other places, including the United States, glufosinate products have remained registered and available, with restrictions set by each regulator.
Rules change, so check what applies where you live.
What glufosinate is
Glufosinate, usually sold as glufosinate-ammonium, is a non-selective contact herbicide. It damages the green growth it touches and works fairly quickly, but it moves through the plant only a limited distance, so deep-rooted perennials can recover. It is an ammonium salt, which is why it comes up in discussions of ammonia herbicide. It is a registered product with a label, which household ammonia is not.
For comparison with other groups, see glufosinate herbicide group and what is a broad-spectrum herbicide.
Why the EU stopped approving it
European pesticide approvals are reviewed periodically. During review of glufosinate, it met the criteria for being classified as toxic to reproduction. Under EU rules, active substances with that classification generally cannot be approved unless narrow exceptions apply, and approval was not renewed. Member states then had to withdraw products and set grace periods for using up stock.
Elsewhere
Other regulators weigh the same kind of data differently, and decisions depend on local conditions and rules. In the US, glufosinate products have stayed registered, with label limits on rates, timing and use sites. Some countries have restricted it and others have not. If you are outside those regions, check with your national or state pesticide authority.
What it means for home gardeners
If you live where glufosinate is sold, follow the label closely: wear the listed protective gear, avoid drift onto wanted plants and keep people and pets out of the area until the label says it is safe. If it is unavailable or you would rather skip it, other choices include hand weeding, mulch, fatty acid contact sprays or glyphosate used per its label. For the range of products without glyphosate, see non volatile herbicide.