Illegal insider trading is when an investor is given non-public information with which they then make a trade in parallel to their profit, taking advantage of information not available to others in the market.