Congress excused themselves from a bunch of insider trading rules. So not illegal. Immoral and unethical, but not illegal.