Yes, it is illegal to not pay employees for the time they work, including during training. Not following this law can lead to legal consequences, including a fine up to $1,000.