Expression used when someone tries to solve a problem, but in a crazy/absurd way that would most likely not work.
Matty didn't have money to go to the concert, so he went moonwalking on quicksand by robbing a bank and using his own car as a getaway car.