As I understand, both よ and よる mean 'night'. I guess that the difference might be purely idiomatic. In this sense:
- What are idioms where only one of them is correct?
- What are idioms where you can use either?
- If you can use either, is there a difference in nuance?