It's not legal to withhold pay for hours worked in any state. If you forget to clock in you should immediately contact your supervisor and they can correct the problem.
You need to check your employment contract of the employee manual to determine if that is the company rules. Then check with the state labor commission.