I have heard this adjective used both in farming and logging. Merriam Webster says:
The wire used in baling hay—haywire—is often used in makeshift repairs. This hurried and temporary use of haywire gave rise to the adjective haywire. When the adjective was first used in the early 20th century, it was primarily found in the phrase "haywire outfit," which originally denoted a poorly equipped group of loggers and then anything that was flimsy or patched together. This led to a "hastily patched-up" sense, which, in turn, gave us the more commonly used meaning, "being out of order or having gone wrong." The "crazy" sense of haywire may have been suggested by the difficulty of handling the springy wire, its tendency to get tangled around legs, or the disorderly appearance of the temporary repair jobs for which it was used.
Loggers also used the term to refer to a thin braided wire line used to pull heavier wire cable through rigging blocks.