“I thought it was illegal to hire illegals....”
They are not illegals. They are permanent residents of the US. The expiration of the card does not invalidate their residency.
Then why does it have an expiration?