A not edible onion that produces a cardiac poison is one of the features of a climbing onion. It has nothing to do with the onion you like to eat, but it can still become one of your favorite houseplants.
Climbing onion, also known as Bowiea sea onion, is a plant that may grow up to 8 inches (20 cm.) across in their native habitat and 4 inches (10 cm.) in captivity. It has pale green flowers, so it is not the best plant to get if you are looking for colorful blooming, but a great choice if you want something exotic.