Will an infrequent marijuana smoker (twice during the last month, clean before) fail a hair drug test?

Unlikely in scenario. There is no simple answer to this question. Detection time depends strongly on the kind and sensitivity of the test employed; the frequency, dosage, and last time of use; the individual subject's genetic makeup, the state of one's metabolism, digestive and excretory systems; and other random, unknown factors.