Sending output signal to input on another arduino, temperature

I just intended to send it continously in a loop

No communication setup at all, I dont need the 2nd arduino to know the actual temp, just proceed down the program when i detects a high signal from a pin, generated by the other arduino