I guess you could use a comparator to square it up or if you use the UB (unbuffered) version of the 4001 you can use one or two of the unused NOR gates as amplifiers if you use resistive feedback to bias the first stage into the linear region. From memory, you can tie/bridge both logic inputs of the NOR gate together and then feed a (270K???) resistor from the output of the gate to the bridged input to bias it as an amplifier. Then feed the output of this gate to one input of another gate with the other input tied to ground (to make a basic logic inverter/squarer in the second NOR gate). This should give a fairly good square(ish) signal.
Note: you can also tie one input to ground instead of tying both inputs together on the first stage. It should still work like this and might even square up better. See the crude schematic below. I'd expect the first stage to produce about 0.6V (low) to 4V (high) logic swing with a fairly rounded shape and the second stage will square it up. It's not a high performance circuit but it is probably the cheapest if you have a 4001UB version of this chip to hand

I haven't done this for years though. The first time I did this was when making a very basic shortwave receiver when I was a student and I used the 4001UB NOR gates as a crude RF amplifier.