Used to describe someone who is searching for an answer or solution, and is using suspect or erroneous logic to find one.
If you are clutching at straws or grasping at straws, you are trying unusual or extreme ideas or methods because other ideas or methods have failed.