Associated with quantum theory is the observation that if a particle can remain in an unknown state until observed, that would give use free will. Now, it is assumed that from entanglement we could derive free will since it can be observed, even over several hundred kilometers.
Does entanglement imply free will? No, because it is not a proof of any nondeterministic behavior. The "I don't know what is in a box until I look in it" kind of nondeterminism is invariant to the fact whether you look into two boxes or one, entangled or not.
If anything, correspondence between two boxes shows determinism by Occam's razor, and from that a local relativistic causal world.
Is there a scientific test for free will/nondeterminism. Yes, it's trivial, with some hand waving. If there is any process which is the direct translation of ( red | ( red | green) ), a nondeterministic choice between red and the nondeterministic choice between red and green. By definition, that equals ( red | green ) the nondeterministic choice between red and green.
Say you build a device like that and run it a hundred thousand times and it gives different distribution when repeated, I would accept life is nondeterministic.
For the sceptic, no there cannot be a conclusive proof of nondeterminism.
From Quantum Lambda Calculus to M&Ms to Free Will? Nice trip... Back to compilers.