Bitcoin is legal along with other cryptocurrencies. They are just unregulated/decentralized and free from government/banking control and intervention. The only time it can become illegal is when people attempt to use it for illicit behaviours. For the most part though, the government is happy with the tax benefits they gain of off people when they cash out and pay standard trading/investment taxes.