What you are describing is a Kel-tec PLR-16. It is a pistol, and is perfectly legal AFAIK in every state but Kommiefornia. Nothing Kel-tec makes is on their silly little list.
Just don't put a vertical foregrip on one, it becomes an AOW. (Unless you pay the tax and get the NFW approval, of course)