If you're using input actions, this should work:
func _input(event):
if event.is_action_pressed("jump") and event.is_action_pressed("dash"):
print("Jump and dash")
If you need to check outside of _input()
:
func _process(delta):
if Input.is_action_pressed("jump") and Input.is_action_pressed("dash"):
print("Jump and dash")