haywire

nouns

wire for tying up bales of hay
is a type of (narrower)
ligament made of metal and used to fasten things or make cages or fences etc

adjectives

not functioning properly
"something is amiss"; "has gone completely haywire"; "something is wrong with the engine"