Hi Bence Kovari,
I found you have some errors:
1. VREFH can't connect to 1V, because from the datasheet you can get that:

You can get that the Min data of VREFH is VDDA/2, you can't connect it to 1V.
2.Select the reference pin pair as the voltage reference
You used this code:
ADC_SC2 |=ADC_SC2_REFSEL(0b01); (which i copied from an example source code).
But from the reference manual, you can get :

If you want to use the VREFH and VREFHL, you should choose REFSEL=00.
3. Take care the hardware
You can find the schematic of FRDM-KEA128 from this link:
http://cache.nxp.com/files/32bit/hardware_tools/schematics/FRDM-KEAZ128-SCH.zip?fpsp=1&WT_TYPE=Schem...

If you want to connect the VREFH to the voltage which you want, you should remove R103, R99, then connect VREFH to the voltage which you want, otherwise, VREFH is still connected to the VDD_MCU.
Wish it helps you!
If you still have question, please kindly let me know!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------