No, insider trading by company executives is legal as long as they report their trades within 2 days to the SEC. Insider trading is illegal when insiders don't meet these SEC rules and trade, or share to others to trade, based on non-public, material information. Now insiders, even when following the law, always have more information than the average investor. That's what makes their moves an important indicator.