Out Of Whack Meaning

(idiomatic) Wrong, broken; specifically:

Example: Not in proper balance; unbalanced.
  our priorities have gotten out of whack
Not in proper alignment.
  the floor is so out of whack that the door hits it when opened
Not working or operating properly.
  banged up left knee is out of whack