340 issue after camshaft change

If the valves are closed on #1 TDC, there will be compression on #1.
The only way there wouldn't be is if there are no rings on the piston.
Are you sure the engine is firing on the proper cylinder ?