This is the logic circuit i want to create in Minecraft
Can anyone make one for me because the one I am making is having lots of problems and is too messy. Redstone signals get jammed and they stay turned on even after switching off the lever.
I hope you're not trying to construct this from basic gates. It could be argued either way, but fundamentally, I see binary decoders in Minecraft as functioning with nor gates instead of nand gates, but that's beside the point. Essentially, the best way to create a binary decoder is to treat it like a field-programmable gate array (FPGA), where horizontal input lanes are nor-ed together on the vertical output lanes. That's a bit of a wishy-washy statement, so it's probably better just to show you.
In this instance, there is a counter as the input, but it's just as easy to use levers for the input. There are 2 blue lines for each input, one of which is the complement (the not) of the input. While these lanes are active high, their only way of output is effectively through a not gate, meaning they output as active low. All output lanes (the red lanes) except one have power to them, and since we're using active low, only one lane is high (despite being "off"). To fix this, we invert the outputs so that we get back to active high. Note that without the output inverter, you basically get nand behaviour. This is beneficial because if you want to power something like a seven segment display, you need an encoder. Encoders require active low inputs, and will produce an active high output, and since the output lanes are already active low, it's as simple as stacking the output lanes of the encoder beneath the output lanes of the decoder.
For a little more information, take a look at this answer about a similar problem.