Answer:
Depending on the state it is legal as long as it is kept within states regulation.
Step-by-step explanation:
Pre-employment drug testing laws differ by state, but most states allow employers to test applicants for drugs so long as they comply with the state's regulations. In addition, some states require that employers provide written notice that drug testing will occur in job postings.