Broken gear stays in your inventory as repairable model-only items instead of disappearing.
A zero-durability diamond sword remains visible in hand and in the hotbar.
Zero-durability tools stay in the inventory instead of disappearing.