A 240 LH 2.4 NA loom will work fine with a 940 LH 2.4 turbo engine. There are a few minor differences between NA and Turbo which can be seen by studying the wiring diagrams (e.g. at the throttle position switch; addition of injector resistors on the turbo engine, etc)
The 940's distributor is mounted at the rear of the head and it hits the firewall if installed in a 240. Therefore you either need to convert the ignition to wasted spark (best option) or obtain an LH 2.4 block mounted distributor from an NA LH 2.4 240. The dizzy is used as a giant mechanical switch in 2.4 and doesn't have any sensors, smarts, or control over timing. Also, the auxiliary shaft in the 940 engine may or may not have the block mounted distributor drive gear. Sure you can replace with with one that does but meh, IMHO a mechanical distributor system is inferior to a solid state wasted spark setup.
You'll need to add a coolant temperature sender on the head for the 240's temp gauge; 940s get their instrument coolant temp readings via a connection on the heater core. The coolant sensor on the 940 engine is for the exclusive use of LH 2.4.
Engine looms in 940s integrate other under-hood functions besides the EFI and ignition, thus they are a PITA to separate - it can be done, but it is tedious and time-consuming task (ask me how I know....) OTOH, the 240's NA LH 2.4 harnesses are a separate assembly from headlights / aircon / instrument / etc wiring.
If you already have an AW71 in the 240, it should be fine. If you still have a '70, IMHO it would be best to replace it with a '71 and keep your gearbox linkages as the link rods on 740 / 940 boxes are longer.
Also, LH 2.4 has its RPM sensor on the rear of the engine block, mounted on a bracket below the head and just above the flexplate, upon which is mounted a 60 minus 2 timing wheel. Your AW71 bellhousing should have a notch in it so this sensor can 'see' the timing wheel..... and not crush the sensor and bracket. At the risk of stating the bleedin' obvious, if you don't have an LH 2.4 flexplate yet, you'll need one. They're a lot easier to find than LH2.4 flywheels!
You already know you'll have to change over the alloy engine mounts from the 240 block onto the 940 block, so I don't need to go into detail about that.