i expect a friend to be both honest and a loyal person is this using correct parallel structure

No.

I expect a friend to be both honest and loyal.

My sister Aliah is both a comic and smart.

My sister Aliah is both comical and smart.

Yes, your sentence is using correct parallel structure.

Parallel structure, also known as parallelism, is a writing technique where the same grammatical form is used in a series of words, phrases, or clauses. In your sentence, you are using the adjective "honest" and the adjective "loyal" to describe the person you expect your friend to be. Both adjectives are in the same form and have a similar structure, making your sentence parallel.

To check if a sentence is using parallel structure correctly, you can identify the elements that need to be parallel and ensure they are in the same grammatical form. In this case, the elements being compared are the adjectives "honest" and "loyal," and they are both in the same form (adjective) and have a similar structure. Therefore, your sentence is using correct parallel structure.