This question already has an answer here:
My B1/B2 visa expires on Jun 7th, 2016. I'm intending to enter US on Jun 6th for a training session and return to my country (MEX) on Jun 9th. Passport is valid until 2019.
Is there a risk that CBP can deny me entrance at the Port Of Entry because to entrance date is one day before the visa expires?