There currently is one option to travel by night train from Loimaa (Finland) to Oulainen (Finland), taking between approximately 8 and 10 hours: Namely the Yöjuna 933 operated by VR.
VR, Finland's national railway operator, runs passenger trains throughout the country, including overnight services to northern Finland.