Here is one way:
[{"id":"7a7ab50bfdbb36b9","type":"join","z":"a12c69dd3cb81690","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1890,"y":460,"wires":[["8fedfbdf19d8dd4a","8dc03c2edc7f3610"]]},{"id":"a854d24607b174fc","type":"inject","z":"a12c69dd3cb81690","name":"Bit_0_True","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Bit_0","payload":"true","payloadType":"bool","x":1680,"y":380,"wires":[["7a7ab50bfdbb36b9"]]},{"id":"c19636ac99c0dff4","type":"inject","z":"a12c69dd3cb81690","name":"Bit_0_False","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Bit_0","payload":"false","payloadType":"bool","x":1690,"y":420,"wires":[["7a7ab50bfdbb36b9"]]},{"id":"0b8e3816c26b29c3","type":"inject","z":"a12c69dd3cb81690","name":"Bit_1_True","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Bit_1","payload":"true","payloadType":"bool","x":1680,"y":500,"wires":[["7a7ab50bfdbb36b9"]]},{"id":"3701308d0b13e071","type":"inject","z":"a12c69dd3cb81690","name":"Bit_1_False","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Bit_1","payload":"false","payloadType":"bool","x":1690,"y":540,"wires":[["7a7ab50bfdbb36b9"]]},{"id":"8fedfbdf19d8dd4a","type":"debug","z":"a12c69dd3cb81690","name":"Int_Value","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":2080,"y":460,"wires":[]},{"id":"01d225c3b918a471","type":"debug","z":"a12c69dd3cb81690","name":"debug 239","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2110,"y":560,"wires":[]},{"id":"8dc03c2edc7f3610","type":"function","z":"a12c69dd3cb81690","name":"make integer","func":"function updateBit(currentValue, bitNo, bitValue) {\n bitNo = parseInt(bitNo)\n const bitValueNormalized = (bitValue === \"true\" || bitValue === true || bitValue == \"1\") ? 1 : 0\n const clearMask = ~(1 << bitNo);\n return (currentValue & clearMask) | (bitValueNormalized << bitNo);\n}\n\nlet result = 0 // starting value\nlet data = msg.payload\nlet keys = Object.keys(data) // get prop names in payload data\n\n// loop prop names Bit_0, Bit_1, ...\nfor (let i = 0; i < keys.length; i++) {\n // use regex to grab the bit number from the prop name\n let key = keys[i]\n let bitRegex = /.*(\\d+).*/.exec(key)\n if (bitRegex && bitRegex.length) {\n let bitNo = bitRegex[1]\n // update the bit in result, based on values in the input data\n result = updateBit(result, bitNo, data[key])\n }\n}\n\nmsg.payload = result\nreturn msg","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1930,"y":560,"wires":[["01d225c3b918a471"]]}]