joo, this is a correct sentence as it is using subjunctive tense. This is correct when you are short and had you been tall then you would have joined army and you would have joined army in the past. Since, you are not tall you have not joined the army.
If you want to put it in the future or present tense, this would be as follows
If I were tall, I would join the army.